package cn.com.chengmandian.erp.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * ERP系统-客户资料详情
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("erp_customer_info")
@ApiModel(value = "ErpCustomerInfo对象", description = "ERP系统-客户资料详情")
public class ErpCustomerInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("客户编号")
    private String no;

    @ApiModelProperty("客户名称")
    private String name;

    @ApiModelProperty("客户资料来源1-招标信息 2-线上信息 3-客户转介绍 4-销售拓展 5-线下信息 10-其它来源")
    private Integer source;

    @ApiModelProperty("客户等级，默认H-普通客户 A-重点客户")
    private String level;

    @ApiModelProperty("业务类型 1-电池租赁 2-深度服务 3-C端租赁 4-电池服务(充电&租赁服务) 5-其它")
    private String business;

    @ApiModelProperty("客户状态1-潜在客户 2-意向客户 3-成交客户 4-终止客户")
    private Integer status;

    @ApiModelProperty("重点客户时间")
    private Date importantTime;

    @ApiModelProperty("意向时间")
    private Date intentionTime;

    @ApiModelProperty("合作时间")
    private Date cooperateTime;

    @ApiModelProperty("运营品牌")
    private String operateBrand;

    @ApiModelProperty("已运营城市")
    private String operateCity;

    @ApiModelProperty("已运营电池数")
    private Integer operateBatteryAmount;

    @ApiModelProperty("使用产品信息")
    private String operateProductInfo;

    @ApiModelProperty("合同起始日期")
    private Date contractStartDate;

    @ApiModelProperty("合同截止日期")
    private Date contractEndDate;

    @ApiModelProperty("合同运营城市")
    private String contractCity;

    @ApiModelProperty("合同租赁信息")
    private String contractProductInfo;

    @ApiModelProperty("合同电池数量")
    private Integer contractOperateAmount;

    @ApiModelProperty("合同租赁数量")
    private Integer contractRentAmount;

    @ApiModelProperty("合同已下单电池数")
    private Integer contractOrderAmount;

    @ApiModelProperty("省编号")
    private Integer provinceId;

    @ApiModelProperty("省名")
    private String province;

    @ApiModelProperty("市编号")
    private Integer cityId;

    @ApiModelProperty("市名")
    private String city;

    @ApiModelProperty("县编号")
    private Integer districtId;

    @ApiModelProperty("县名")
    private String district;

    @ApiModelProperty("客户地址")
    private String address;

    @ApiModelProperty("订单数量")
    private Integer orderAmount;

    @ApiModelProperty("意向电池组数")
    private Integer intentionBatteryAmount;

    @ApiModelProperty("意向投放车辆数")
    private Integer intentionBikeAmount;

    @ApiModelProperty("最新跟进内容")
    private String lastFollowContent;

    @ApiModelProperty("最新跟进时间")
    private Date lastFollowTime;

    @ApiModelProperty("最新更新人")
    private Integer lastFollowUser;

    @ApiModelProperty("关联销售ID")
    private Integer salesUserId;

    @ApiModelProperty("销售领取时间")
    private Date salesReceiveTime;

    @ApiModelProperty("主要联系人ID")
    private Integer mainContactId;

    @ApiModelProperty("终止原因")
    private String stopReason;

    @ApiModelProperty("信息备注")
    private String remark;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
